import request from '@/utils/request'

// 请求一级分类数据
export const reqCategoryList1 = () => request({ url: '/admin/product/getCategory1' })

// 请求二级分类数据
export const reqCategoryList2 = (category1Id) => request({ url: `/admin/product/getCategory2/${category1Id}` })

// 请求三级分类数据
export const reqCategoryList3 = (category2Id) => request({ url: `/admin/product/getCategory3/${category2Id}` })